package com.atguigu.gulimall.order.frgin;

import com.atguigu.gulimall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * 远程调用购物车服务
 */
@FeignClient("gulimall-cart")
public interface CartFeginService {

    /**
     * 获取购物车选中的商品
     */
    @GetMapping("/currentUserCartItems")
    List<OrderItemVo> getCurrentUserCartItems();
}
